// designView.h : interface of the CDesignView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DESIGNVIEW_H__D2C89C81_527A_47FD_A297_CBC86CDD9BA8__INCLUDED_)
#define AFX_DESIGNVIEW_H__D2C89C81_527A_47FD_A297_CBC86CDD9BA8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CDesignView : public CView
{
protected: // create from serialization only
	CDesignView();
	DECLARE_DYNCREATE(CDesignView)

// Attributes
public:
	CDesignDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDesignView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CDesignView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDesignView)
	afx_msg void OnMENUword();
	afx_msg void OnMENUdot();
	afx_msg void OnMENULine();
	afx_msg void OnMENUtangle();
	afx_msg void OnMENUellipse();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMENUsetting();
	afx_msg void OnMenuColor();
	afx_msg void OnFileOpen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CListCtrl m_ListCtrl;

	CString m_strFontname;
	CFont m_font;
	COLORREF m_clr;
	CString m_nwords;
	UINT m_nheight;
	UINT m_nwidth;
	int m_nLineStyle;
	UINT m_nLineWidth;
	CPoint m_ptOrigin;
	UINT m_nDrawType;
};

#ifndef _DEBUG  // debug version in designView.cpp
inline CDesignDoc* CDesignView::GetDocument()
   { return (CDesignDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DESIGNVIEW_H__D2C89C81_527A_47FD_A297_CBC86CDD9BA8__INCLUDED_)
